package com.smarthome.core.statisticsquery;

import java.util.Map;

import com.smarthome.domain.bean.ShOrders;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;

/**
 * 订单统计
 * 
 * @author 订单统计
 *
 */
public interface OrderStatisticsService {

	/**
	 * 获取订单统计的数量和费用合计
	 * 
	 * @param shOrders
	 * @return
	 */
	Map<String, Object> getCountAll(ShOrders shOrders);

	/**
	 * 翻页
	 * 
	 * @param shOrders
	 * @param page
	 * @author shazhichao
	 * @return
	 */
	DataGrid queryShOrdersPage(ShOrders shOrders, PageHelper page);

	/**
	 * 获取图表统计的数据
	 * 
	 * @return
	 */
	Map<String, Object> getPicCount(ShOrders shOrders);

}
